package com.wqiuqiu.gulimall.order.vo;


import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

@Data
public class OrderVo {
    @Data
    public static class Order{
        private String orderSn;
        private Date createTime;
        private BigDecimal payAmount;
        private String memberUsername;
        //支付方式【1->支付宝；2->微信；3->银联； 4->货到付款；】
        private Integer payType;
        /**
         * 订单状态【0->待付款；1->待发货；2->已发货；3->已完成；4->已关闭；5->无效订单】
         */
        private Integer status;
        private String deliverySn;
        /**
         * 确认收货状态[0->未确认；1->已确认]
         */
        private Integer confirmStatus;
    }
    @Data
    public static class OrderItem{
        private String spuName;
        private String spuPic;
        private String spuBrand;
        private String skuName;
        private String skuPic;
        private BigDecimal skuPrice;
        private Integer skuQuantity;
        private BigDecimal realAmount;
        private String skuAttrsVals;
    }
    private Order order;
    private List<OrderItem> orderItems;
}
